package com.xiaoshuidi.cloud.module.finance.controller.admin.finance.vo.transfer;

import com.xiaoshuidi.cloud.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

import static com.xiaoshuidi.cloud.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 应付款分页 Request VO")
@Data
public class FinanceBankTransferPageReqVO extends PageParam {
    @Schema(description = "创建日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;
    @Schema(description = "付款成功时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] payTime;
    @Schema(description = "退款金额")
    private BigDecimal[] payAmount;
    @Schema(description = "收款方(租客/房东)")
    private String payeeType;
    @Schema(description = "银行")
    private String payeeBank;
    @Schema(description = "支行行号")
    private String payeeBankCode;
    @Schema(description = "状态")
    private String status;
    @Schema(description = "输入框")
    private String keyword;
    @Schema(description = "门店id")
    private Long apartmentId;

    private Integer isChange;

    private List<Integer> ids;
}
